home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gui / mui23dev.lha / MUI / Developer / Oberon / txt / Mui.mod < prev    next >
Text File  |  1994-12-23  |  83KB  |  1,963 lines

  1. MODULE Mui;
  2.  
  3. IMPORT Exec, Utility, Intuition, SYSTEM, ASL, Graphics;
  4.  
  5. (***************************************************************************
  6. **
  7. ** MUI - MagicUserInterface
  8. ** (c) 1993 by Stefan Stuntz
  9. **
  10. ** Oberon Main Header File (c) 1993-94 by Albert Weinert
  11. **
  12. ****************************************************************************
  13. ** Class Tree
  14. ****************************************************************************
  15. **
  16. ** rootclass               (BOOPSI's base class)
  17. ** +--Notify               (implements notification mechanism)
  18. **    +--Family            (handles multiple children)
  19. **    !  +--Menustrip      (describes a complete menu strip)
  20. **    !  +--Menu           (describes a single menu)
  21. **    !  \--Menuitem       (describes a single menu item)
  22. **    +--Application       (main class for all applications)
  23. **    +--Window            (handles intuition window related topics)
  24. **    +--Area              (base class for all GUI elements)
  25. **       +--Rectangle      (creates (empty) rectangles)
  26. **       +--Image          (creates images)
  27. **       +--Text           (creates some text)
  28. **       +--String         (creates a string gadget)
  29. **       +--Prop           (creates a proportional gadget)
  30. **       +--Gauge          (creates a fule gauge)
  31. **       +--Scale          (creates a percentage scale)
  32. **       +--Boopsi         (interface to BOOPSI gadgets)
  33. **       +--Colorfield     (creates a field with changeable color)
  34. **       +--List           (creates a line-oriented list)
  35. **       !  +--Floattext   (special list with floating text)
  36. **       !  +--Volumelist  (special list with volumes)
  37. **       !  +--Scrmodelist (special list with screen modes)
  38. **       !  \--Dirlist     (special list with files)
  39. **       +--Group          (groups other GUI elements)
  40. **          +--Register    (handles page groups with titles)
  41. **          +--Virtgroup   (handles virtual groups)
  42. **          +--Scrollgroup (handles virtual groups with scrollers)
  43. **          +--Scrollbar   (creates a scrollbar)
  44. **          +--Listview    (creates a listview)
  45. **          +--Radio       (creates radio buttons)
  46. **          +--Cycle       (creates cycle gadgets)
  47. **          +--Slider      (creates slider gadgets)
  48. **          +--Coloradjust (creates some RGB sliders)
  49. **          +--Palette     (creates a complete palette gadget)
  50. **          +--Colorpanel  (creates a panel of colors)
  51. **          +--Popstring   (base class for popups)
  52. **             +--Popobject(popup a MUI object in a window)
  53. **             \--Popasl   (popup an asl requester)
  54. **
  55. ****************************************************************************
  56. ** General Header File Information
  57. ****************************************************************************
  58. **
  59. ** All macro and structure definitions follow these rules:
  60. **
  61. ** Name                       Meaning
  62. **
  63. ** c<Class>              Name of a class
  64. ** m<Class><Method>      Method
  65. ** p<Class><Method>      Methods parameter structure
  66. ** v<Class><Method><X>   Special method value
  67. ** a<Class><Attrib>      Attribute
  68. ** v<Class><Attrib><X>   Special attribute value
  69. ** e<Error>              Error return code from MUI_Error()
  70. ** i<Name>               Standard MUI image
  71. ** x<Code>               Control codes for text strings
  72. ** o<Name>                Object type for MUI_MakeObject()
  73. **
  74. ** a<> ... attribute definitions are followed by a comment
  75. ** consisting of the three possible letters I, S and G.
  76. ** I: it's possible to specify this attribute at object creation time.
  77. ** S: it's possible to change this attribute with SetAttrs().
  78. ** G: it's possible to get this attribute with GetAttr().
  79. **
  80. ** Items marked with "Custom Class" are for use in custom classes only!
  81. *)
  82.  
  83. CONST
  84.   name* = "muimaster.library";
  85.   minVersion* = 7;
  86.  
  87. TYPE
  88.  
  89.   Object * = Intuition.ObjectPtr;
  90.  
  91. TYPE
  92.   dispatcher *= PROCEDURE ( class{8} : Intuition.IClass; obj{10} : Object; message{9} : Intuition.Msg );
  93.  
  94. (***************************************************************************
  95. ** ARexx Interface
  96. ***************************************************************************)
  97.  
  98. TYPE
  99.   Command * = STRUCT
  100.     name            * : Exec.STRPTR;
  101.     template        * : Exec.STRPTR;
  102.     parameters      * : LONGINT;
  103.     hook            * : Utility.HookPtr;
  104.     reserved        * : ARRAY 5 OF LONGINT;
  105.   END;
  106.  
  107. CONST
  108.   templateID * = SYSTEM.VAL(Exec.STRPTR,-1);
  109.  
  110.   rxerrBADDEFINITION  *= -1;
  111.   rxerrOUTOFMEMORY    *= -2;
  112.   rxerrUNKNOWNCOMMAND *= -3;
  113.   rxerrBADSYNTAX      *= -4;
  114.  
  115.  
  116. (***************************************************************************
  117. ** Return values for MUI_Error()
  118. ***************************************************************************)
  119.  
  120. CONST
  121.  
  122.         eOK                  * = 0;
  123.         eOutOfMemory         * = 1;
  124.         eOutOfGfxMemory      * = 2;
  125.         eInvalidWindowObject * = 3;
  126.         eMissingLibrary      * = 4;
  127.         eNoARexx             * = 5;
  128.         eSingleTask          * = 6;
  129.  
  130.  
  131. (***************************************************************************
  132. ** Standard MUI Images
  133. ***************************************************************************)
  134.  
  135. CONST
  136.         iWindowBack    * =  0;
  137.         iRequesterBack * =  1;
  138.         iButtonBack    * =  2;
  139.         iListBack      * =  3;
  140.         iTextBack      * =  4;
  141.         iPropBack      * =  5;
  142.         iPopupBack     * =  6;
  143.         iSelectedBack  * =  7;
  144.         iListCursor    * =  8;
  145.         iListSelect    * =  9;
  146.         iListSelCur    * = 10;
  147.         iArrowUp       * = 11;
  148.         iArrowDown     * = 12;
  149.         iArrowLeft     * = 13;
  150.         iArrowRight    * = 14;
  151.         iCheckMark     * = 15;
  152.         iRadioButton   * = 16;
  153.         iCycle         * = 17;
  154.         iPopUp         * = 18;
  155.         iPopFile       * = 19;
  156.         iPopDrawer     * = 20;
  157.         iPropKnob      * = 21;
  158.         iDrawer        * = 22;
  159.         iHardDisk      * = 23;
  160.         iDisk          * = 24;
  161.         iChip          * = 25;
  162.         iVolume        * = 26;
  163.         iPopUpBack     * = 27;
  164.         iNetwork       * = 28;
  165.         iAssign        * = 29;
  166.         iTapePlay      * = 30;
  167.         iTapePlayBack  * = 31;
  168.         iTapePause     * = 32;
  169.         iTapeStop      * = 33;
  170.         iTapeRecord    * = 34;
  171.         iGroupBack     * = 35;
  172.         iSliderBack    * = 36;
  173.         iSliderKnob    * = 37;
  174.         iTapeUp        * = 38;
  175.         iTapeDown      * = 39;
  176.         iCount         * = 40;
  177.  
  178.         iBACKGROUND    * = 128    (* These are direct color    *);
  179.         iSHADOW        * = 129    (* combinations and are not  *);
  180.         iSHINE         * = 130    (* affected by users prefs.  *);
  181.         iFILL          * = 131;
  182.         iSHADOWBACK    * = 132    (* Generally, you should     *);
  183.         iSHADOWFILL    * = 133    (* avoid using them. Better  *);
  184.         iSHADOWSHINE   * = 134    (* use one of the customized *);
  185.         iFILLBACK      * = 135    (* images above.             *);
  186.         iFILLSHINE     * = 136;
  187.         iSHINEBACK     * = 137;
  188.         iFILLBACK2     * = 138;
  189.         iHSHINEBACK    * = 139;
  190.         iHSHADOWBACK   * = 140;
  191.         iHSHINESHINE   * = 141;
  192.         iHSHADOWSHADOW * = 142;
  193.         iN1HSHINE      * = 143;
  194.         iLASTPAT       * = 143;
  195.  
  196. (***************************************************************************
  197. ** Object Types for MUI_MakeObject()
  198. ***************************************************************************)
  199. CONST
  200.   oLabel       *= 1;   (* STRPTR label, ULONG flags *)
  201.   oButton      *= 2;   (* STRPTR label *)
  202.   oCheckmark   *= 3;   (* STRPTR label *)
  203.   oCycle       *= 4;   (* STRPTR label, STRPTR *entries *)
  204.   oRadio       *= 5;   (* STRPTR label, STRPTR *entries *)
  205.   oSlider      *= 6;   (* STRPTR label, LONG min, LONG max *)
  206.   oString      *= 7;   (* STRPTR label, LONG maxlen *)
  207.   oPopButton   *= 8;   (* STRPTR imagespec *)
  208.   oHSpace      *= 9;   (* LONG space   *)
  209.   oVSpace      *=10;   (* LONG space   *)
  210.   oHBar        *=11;   (* LONG space   *)
  211.   oVBar        *=12;   (* LONG space   *)
  212.   oMenustripNM *=13;   (* struct NewMenu *nm, ULONG flags *)
  213.   oMenuitem    *=14;   (* STRPTR label, STRPTR shortcut, ULONG flags, ULONG data  *)
  214.   oBarTitle    *=15;   (* STRPTR label *)
  215.  
  216. CONST
  217.   oLabelSingleFrame *= 0100H;
  218.   oLabelDoubleFrame *= 0200H;
  219.   oLabelLeftAligned *= 0400H;
  220.   oLabelCentered    *= 0800H;
  221.  
  222. (***************************************************************************
  223. ** Special values for some methods
  224. ***************************************************************************)
  225.  
  226. CONST
  227.  
  228.         vTriggerValue    *= 49893131H;
  229.         vNotTriggerValue *= 49893133H;
  230.         vEveryTime       *= 49893131H;
  231.  
  232.         vNotifySelf        *= 1;
  233.         vNotifyWindow      *= 2;
  234.         vNotifyApplication *= 3;
  235.  
  236.         vApplicationSaveENV     * =  0;
  237.         vApplicationSaveENVARC  * = -1;
  238.         vApplicationLoadENV     * =  0;
  239.         vApplicationLoadENVARC  * = -1;
  240.  
  241.         vApplicationReturnIDQuit * = -1;
  242.  
  243.         vListInsertTop       * =  0;
  244.         vListInsertActive    * = -1;
  245.         vListInsertSorted    * = -2;
  246.         vListInsertBottom    * = -3;
  247.  
  248.         vListRemoveFirst     * =  0;
  249.         vListRemoveActive    * = -1;
  250.         vListRemoveLast      * = -2;
  251.         vListRemoveSelected  * = -3;
  252.  
  253.         vListSelectOff       * =  0;
  254.         vListSelectOn        * =  1;
  255.         vListSelectToggle    * =  2;
  256.         vListSelectAsk       * =  3;
  257.  
  258.         vListGetEntryActive  * = -1;
  259.         vListSelectActive    * = -1;
  260.         vListSelectAll       * = -2;
  261.  
  262.         vListRedrawActive    * = -1;
  263.         vListRedrawAll       * = -2;
  264.  
  265.         vListMoveTop      * =  0;
  266.         vListMoveActive   * = -1;
  267.         vListMoveBottom   * = -2;
  268.         vListMoveNext     * = -3; (* only valid for second parameter *)
  269.         vListMovePrevious * = -4; (* only valid for second parameter *)
  270.  
  271.         vListExchangeTop      * =  0;
  272.         vListExchangeActive   * = -1;
  273.         vListExchangeBottom   * = -2;
  274.         vListExchangeNext     * = -3; (* only valid for second parameter *)
  275.         vListExchangePrevious * = -4; (* only valid for second parameter *)
  276.  
  277.         vListJumpTop         * =  0;
  278.         vListJumpActive      * = -1;
  279.         vListJumpBottom      * =  2;
  280.  
  281.         vColorpanelGetColorActive *= -1;
  282.         vColorpanelSetColorActive *= -1;
  283.  
  284.         vListNextSelectedStart * = -1;
  285.         vListNextSelectedEnd * = -1;
  286.         
  287. (***************************************************************************
  288. ** Control codes for text strings
  289. ***************************************************************************)
  290. CONST
  291.   xR *= "\033r";    (* right justified *)
  292.   xC *= "\033c";    (* centered        *)
  293.   xL *= "\033l";    (* left justified  *)
  294.  
  295.   xN *= "\033n";    (* normal     *)
  296.   xB *= "\033b";    (* bold       *)
  297.   xI *= "\033i";    (* italic     *)
  298.   xU *= "\033u";    (* underlined *)
  299.  
  300.   xPT *= "\0332";   (* text pen           *)
  301.   xPH *= "\0338";   (* highlight text pen *)
  302.  
  303.  
  304.  
  305. (*******************************************)
  306. (* Begin of automatic header file creation *)
  307. (*******************************************)
  308.  
  309.  
  310.  
  311.  
  312. (****************************************************************************)
  313. (** Notify                                                                 **)
  314. (****************************************************************************)
  315.  
  316.   cNotify * = "Notify.mui";
  317.  
  318. (* Methods *)
  319.  
  320.   CONST mCallHook                  * = 8042B96BH; (* V4  *)
  321.   CONST mFindUData                 * = 8042C196H; (* V8  *)
  322.   CONST mGetUData                  * = 8042ED0CH; (* V8  *)
  323.   CONST mKillNotify                * = 8042D240H; (* V4  *)
  324.   CONST mMultiSet                  * = 8042D356H; (* V7  *)
  325.   CONST mNoNotifySet               * = 8042216FH; (* V9  *)
  326.   CONST mNotify                    * = 8042C9CBH; (* V4  *)
  327.   CONST mSet                       * = 8042549AH; (* V4  *)
  328.   CONST mSetAsString               * = 80422590H; (* V4  *)
  329.   CONST mSetUData                  * = 8042C920H; (* V8  *)
  330.   CONST mWriteLong                 * = 80428D86H; (* V6  *)
  331.   CONST mWriteString               * = 80424BF4H; (* V6  *)
  332.  
  333. (* Attributes *)
  334.  
  335.   CONST aAppMessage                 * = 80421955H; (* V5  ..g struct AppMessage * *)
  336.   CONST aHelpFile                   * = 80423A6EH; (* V4  isg STRPTR            *)
  337.   CONST aHelpLine                   * = 8042A825H; (* V4  isg LONG              *)
  338.   CONST aHelpNode                   * = 80420B85H; (* V4  isg STRPTR            *)
  339.   CONST aNoNotify                   * = 804237F9H; (* V7  .s. BOOL              *)
  340.   CONST aRevision                   * = 80427EAAH; (* V4  ..g LONG              *)
  341.   CONST aUserData                   * = 80420313H; (* V4  isg ULONG             *)
  342.   CONST aVersion                    * = 80422301H; (* V4  ..g LONG              *)
  343.  
  344.  
  345.  
  346. (****************************************************************************)
  347. (** Family                                                                 **)
  348. (****************************************************************************)
  349.  
  350.   cFamily * = "Family.mui";
  351.  
  352. (* Methods *)
  353.  
  354.   CONST mFamilyAddHead             * = 8042E200H; (* V8  *)
  355.   CONST mFamilyAddTail             * = 8042D752H; (* V8  *)
  356.   CONST mFamilyInsert              * = 80424D34H; (* V8  *)
  357.   CONST mFamilyRemove              * = 8042F8A9H; (* V8  *)
  358.   CONST mFamilySort                * = 80421C49H; (* V8  *)
  359.   CONST mFamilyTransfer            * = 8042C14AH; (* V8  *)
  360.  
  361. (* Attributes *)
  362.  
  363.   CONST aFamilyChild                * = 8042C696H; (* V8  i.. Object *          *)
  364.  
  365.  
  366.  
  367. (****************************************************************************)
  368. (** Menustrip                                                              **)
  369. (****************************************************************************)
  370.  
  371.   cMenustrip * = "Menustrip.mui";
  372.  
  373. (* Methods *)
  374.  
  375.  
  376. (* Attributes *)
  377.  
  378.   CONST aMenustripEnabled           * = 8042815BH; (* V8  isg BOOL              *)
  379.  
  380.  
  381.  
  382. (****************************************************************************)
  383. (** Menu                                                                   **)
  384. (****************************************************************************)
  385.  
  386.   cMenu * = "Menu.mui";
  387.  
  388. (* Methods *)
  389.  
  390.  
  391. (* Attributes *)
  392.  
  393.   CONST aMenuEnabled                * = 8042ED48H; (* V8  isg BOOL              *)
  394.   CONST aMenuTitle                  * = 8042A0E3H; (* V8  isg STRPTR            *)
  395.  
  396.  
  397.  
  398. (****************************************************************************)
  399. (** Menuitem                                                               **)
  400. (****************************************************************************)
  401.  
  402.   cMenuitem * = "Menuitem.mui";
  403.  
  404. (* Methods *)
  405.  
  406.  
  407. (* Attributes *)
  408.  
  409.   CONST aMenuitemChecked            * = 8042562AH; (* V8  isg BOOL              *)
  410.   CONST aMenuitemCheckit            * = 80425ACEH; (* V8  isg BOOL              *)
  411.   CONST aMenuitemEnabled            * = 8042AE0FH; (* V8  isg BOOL              *)
  412.   CONST aMenuitemExclude            * = 80420BC6H; (* V8  isg LONG              *)
  413.   CONST aMenuitemShortcut           * = 80422030H; (* V8  isg char              *)
  414.   CONST aMenuitemTitle              * = 804218BEH; (* V8  isg STRPTR            *)
  415.   CONST aMenuitemToggle             * = 80424D5CH; (* V8  isg BOOL              *)
  416.   CONST aMenuitemTrigger            * = 80426F32H; (* V8  ..g struct MenuItem * *)
  417.  
  418.  
  419.  
  420. (****************************************************************************)
  421. (** Application                                                            **)
  422. (****************************************************************************)
  423.  
  424.   cApplication * = "Application.mui";
  425.  
  426. (* Methods *)
  427.  
  428.   CONST mApplicationGetMenuCheck   * = 8042C0A7H; (* V4  *)
  429.   CONST mApplicationGetMenuState   * = 8042A58FH; (* V4  *)
  430.   CONST mApplicationInput          * = 8042D0F5H; (* V4  *)
  431.   CONST mApplicationInputBuffered  * = 80427E59H; (* V4  *)
  432.   CONST mApplicationLoad           * = 8042F90DH; (* V4  *)
  433.   CONST mApplicationPushMethod     * = 80429EF8H; (* V4  *)
  434.   CONST mApplicationReturnID       * = 804276EFH; (* V4  *)
  435.   CONST mApplicationSave           * = 804227EFH; (* V4  *)
  436.   CONST mApplicationSetMenuCheck   * = 8042A707H; (* V4  *)
  437.   CONST mApplicationSetMenuState   * = 80428BEFH; (* V4  *)
  438.   CONST mApplicationShowHelp       * = 80426479H; (* V4  *)
  439.  
  440. (* Attributes *)
  441.  
  442.   CONST aApplicationActive          * = 804260ABH; (* V4  isg BOOL              *)
  443.   CONST aApplicationAuthor          * = 80424842H; (* V4  i.g STRPTR            *)
  444.   CONST aApplicationBase            * = 8042E07AH; (* V4  i.g STRPTR            *)
  445.   CONST aApplicationBroker          * = 8042DBCEH; (* V4  ..g Broker *          *)
  446.   CONST aApplicationBrokerHook      * = 80428F4BH; (* V4  isg struct Hook *     *)
  447.   CONST aApplicationBrokerPort      * = 8042E0ADH; (* V6  ..g struct MsgPort *  *)
  448.   CONST aApplicationBrokerPri       * = 8042C8D0H; (* V6  i.g LONG              *)
  449.   CONST aApplicationCommands        * = 80428648H; (* V4  isg struct MUI_Command * *)
  450.   CONST aApplicationCopyright       * = 8042EF4DH; (* V4  i.g STRPTR            *)
  451.   CONST aApplicationDescription     * = 80421FC6H; (* V4  i.g STRPTR            *)
  452.   CONST aApplicationDiskObject      * = 804235CBH; (* V4  isg struct DiskObject * *)
  453.   CONST aApplicationDoubleStart     * = 80423BC6H; (* V4  ..g BOOL              *)
  454.   CONST aApplicationDropObject      * = 80421266H; (* V5  is. Object *          *)
  455.   CONST aApplicationForceQuit       * = 804257DFH; (* V8  ..g BOOL              *)
  456.   CONST aApplicationHelpFile        * = 804293F4H; (* V8  isg STRPTR            *)
  457.   CONST aApplicationIconified       * = 8042A07FH; (* V4  .sg BOOL              *)
  458.   CONST aApplicationMenu            * = 80420E1FH; (* V4  i.g struct NewMenu *  *)
  459.   CONST aApplicationMenuAction      * = 80428961H; (* V4  ..g ULONG             *)
  460.   CONST aApplicationMenuHelp        * = 8042540BH; (* V4  ..g ULONG             *)
  461.   CONST aApplicationMenustrip       * = 804252D9H; (* V8  i.. Object *          *)
  462.   CONST aApplicationRexxHook        * = 80427C42H; (* V7  isg struct Hook *     *)
  463.   CONST aApplicationRexxMsg         * = 8042FD88H; (* V4  ..g struct RxMsg *    *)
  464.   CONST aApplicationRexxString      * = 8042D711H; (* V4  .s. STRPTR            *)
  465.   CONST aApplicationSingleTask      * = 8042A2C8H; (* V4  i.. BOOL              *)
  466.   CONST aApplicationSleep           * = 80425711H; (* V4  .s. BOOL              *)
  467.   CONST aApplicationTitle           * = 804281B8H; (* V4  i.g STRPTR            *)
  468.   CONST aApplicationUseCommodities  * = 80425EE5H; (* V10 i.. BOOL              *)
  469.   CONST aApplicationUseRexx         * = 80422387H; (* V10 i.. BOOL              *)
  470.   CONST aApplicationVersion         * = 8042B33FH; (* V4  i.g STRPTR            *)
  471.   CONST aApplicationWindow          * = 8042BFE0H; (* V4  i.. Object *          *)
  472.  
  473.  
  474.  
  475. (****************************************************************************)
  476. (** Window                                                                 **)
  477. (****************************************************************************)
  478.  
  479.   cWindow * = "Window.mui";
  480.  
  481. (* Methods *)
  482.  
  483.   CONST mWindowGetMenuCheck        * = 80420414H; (* V4  *)
  484.   CONST mWindowGetMenuState        * = 80420D2FH; (* V4  *)
  485.   CONST mWindowScreenToBack        * = 8042913DH; (* V4  *)
  486.   CONST mWindowScreenToFront       * = 804227A4H; (* V4  *)
  487.   CONST mWindowSetCycleChain       * = 80426510H; (* V4  *)
  488.   CONST mWindowSetMenuCheck        * = 80422243H; (* V4  *)
  489.   CONST mWindowSetMenuState        * = 80422B5EH; (* V4  *)
  490.   CONST mWindowToBack              * = 8042152EH; (* V4  *)
  491.   CONST mWindowToFront             * = 8042554FH; (* V4  *)
  492.  
  493. (* Attributes *)
  494.  
  495.   CONST aWindowActivate             * = 80428D2FH; (* V4  isg BOOL              *)
  496.   CONST aWindowActiveObject         * = 80427925H; (* V4  .sg Object *          *)
  497.   CONST aWindowAltHeight            * = 8042CCE3H; (* V4  i.g LONG              *)
  498.   CONST aWindowAltLeftEdge          * = 80422D65H; (* V4  i.g LONG              *)
  499.   CONST aWindowAltTopEdge           * = 8042E99BH; (* V4  i.g LONG              *)
  500.   CONST aWindowAltWidth             * = 804260F4H; (* V4  i.g LONG              *)
  501.   CONST aWindowAppWindow            * = 804280CFH; (* V5  i.. BOOL              *)
  502.   CONST aWindowBackdrop             * = 8042C0BBH; (* V4  i.. BOOL              *)
  503.   CONST aWindowBorderless           * = 80429B79H; (* V4  i.. BOOL              *)
  504.   CONST aWindowCloseGadget          * = 8042A110H; (* V4  i.. BOOL              *)
  505.   CONST aWindowCloseRequest         * = 8042E86EH; (* V4  ..g BOOL              *)
  506.   CONST aWindowDefaultObject        * = 804294D7H; (* V4  isg Object *          *)
  507.   CONST aWindowDepthGadget          * = 80421923H; (* V4  i.. BOOL              *)
  508.   CONST aWindowDragBar              * = 8042045DH; (* V4  i.. BOOL              *)
  509.   CONST aWindowFancyDrawing         * = 8042BD0EH; (* V8  isg BOOL              *)
  510.   CONST aWindowHeight               * = 80425846H; (* V4  i.g LONG              *)
  511.   CONST aWindowID                   * = 804201BDH; (* V4  isg ULONG             *)
  512.   CONST aWindowInputEvent           * = 804247D8H; (* V4  ..g struct InputEvent * *)
  513.   CONST aWindowLeftEdge             * = 80426C65H; (* V4  i.g LONG              *)
  514.   CONST aWindowMenu                 * = 8042DB94H; (* V4  i.. struct NewMenu *  *)
  515.   CONST aWindowMenuAction           * = 80427521H; (* V8  isg ULONG             *)
  516.   CONST aWindowMenustrip            * = 8042855EH; (* V8  i.. Object *          *)
  517.   CONST aWindowMouseObject          * = 8042BF9BH; (* V10 ..g Object *          *)
  518.   CONST aWindowNeedsMouseObject     * = 8042372AH; (* V10 i.. BOOL              *)
  519.   CONST aWindowNoMenus              * = 80429DF5H; (* V4  is. BOOL              *)
  520.   CONST aWindowOpen                 * = 80428AA0H; (* V4  .sg BOOL              *)
  521.   CONST aWindowPublicScreen         * = 804278E4H; (* V6  isg STRPTR            *)
  522.   CONST aWindowRefWindow            * = 804201F4H; (* V4  is. Object *          *)
  523.   CONST aWindowRootObject           * = 8042CBA5H; (* V4  i.. Object *          *)
  524.   CONST aWindowScreen               * = 8042DF4FH; (* V4  isg struct Screen *   *)
  525.   CONST aWindowScreenTitle          * = 804234B0H; (* V5  isg STRPTR            *)
  526.   CONST aWindowSizeGadget           * = 8042E33DH; (* V4  i.. BOOL              *)
  527.   CONST aWindowSizeRight            * = 80424780H; (* V4  i.. BOOL              *)
  528.   CONST aWindowSleep                * = 8042E7DBH; (* V4  .sg BOOL              *)
  529.   CONST aWindowTitle                * = 8042AD3DH; (* V4  isg STRPTR            *)
  530.   CONST aWindowTopEdge              * = 80427C66H; (* V4  i.g LONG              *)
  531.   CONST aWindowWidth                * = 8042DCAEH; (* V4  i.g LONG              *)
  532.   CONST aWindowWindow               * = 80426A42H; (* V4  ..g struct Window *   *)
  533.  
  534.   CONST vWindowActiveObjectNone     * = 0;
  535.   CONST vWindowActiveObjectNext     * = -1;
  536.   CONST vWindowActiveObjectPrev     * = -2;
  537.   CONST vWindowAltHeightScaled      * = -1000;
  538.   CONST vWindowAltLeftEdgeCentered  * = -1;
  539.   CONST vWindowAltLeftEdgeMoused    * = -2;
  540.   CONST vWindowAltLeftEdgeNoChange  * = -1000;
  541.   CONST vWindowAltTopEdgeCentered   * = -1;
  542.   CONST vWindowAltTopEdgeMoused     * = -2;
  543.   CONST vWindowAltTopEdgeNoChange   * = -1000;
  544.   CONST vWindowAltWidthScaled       * = -1000;
  545.   CONST vWindowHeightScaled         * = -1000;
  546.   CONST vWindowHeightDefault        * = -1001;
  547.   CONST vWindowLeftEdgeCentered     * = -1;
  548.   CONST vWindowLeftEdgeMoused       * = -2;
  549.   CONST vWindowMenuNoMenu           * = -1;
  550.   CONST vWindowTopEdgeCentered      * = -1;
  551.   CONST vWindowTopEdgeMoused        * = -2;
  552.   CONST vWindowWidthScaled          * = -1000;
  553.   CONST vWindowWidthDefault         * = -1001;
  554.  
  555.  
  556. (****************************************************************************)
  557. (** Area                                                                   **)
  558. (****************************************************************************)
  559.  
  560.   cArea * = "Area.mui";
  561.  
  562. (* Methods *)
  563.  
  564.   CONST mAskMinMax                 * = 80423874H; (* V4  *)
  565.   CONST mCleanup                   * = 8042D985H; (* V4  *)
  566.   CONST mDraw                      * = 80426F3FH; (* V4  *)
  567.   CONST mHandleInput               * = 80422A1AH; (* V4  *)
  568.   CONST mHide                      * = 8042F20FH; (* V4  *)
  569.   CONST mSetup                     * = 80428354H; (* V4  *)
  570.   CONST mShow                      * = 8042CC84H; (* V4  *)
  571.  
  572. (* Attributes *)
  573.  
  574.   CONST aApplicationObject          * = 8042D3EEH; (* V4  ..g Object *          *)
  575.   CONST aBackground                 * = 8042545BH; (* V4  is. LONG              *)
  576.   CONST aBottomEdge                 * = 8042E552H; (* V4  ..g LONG              *)
  577.   CONST aControlChar                * = 8042120BH; (* V4  i.. char              *)
  578.   CONST aDisabled                   * = 80423661H; (* V4  isg BOOL              *)
  579.   CONST aExportID                   * = 8042D76EH; (* V4  isg LONG              *)
  580.   CONST aFixHeight                  * = 8042A92BH; (* V4  i.. LONG              *)
  581.   CONST aFixHeightTxt               * = 804276F2H; (* V4  i.. LONG              *)
  582.   CONST aFixWidth                   * = 8042A3F1H; (* V4  i.. LONG              *)
  583.   CONST aFixWidthTxt                * = 8042D044H; (* V4  i.. STRPTR            *)
  584.   CONST aFont                       * = 8042BE50H; (* V4  i.g struct TextFont * *)
  585.   CONST aFrame                      * = 8042AC64H; (* V4  i.. LONG              *)
  586.   CONST aFramePhantomHoriz          * = 8042ED76H; (* V4  i.. BOOL              *)
  587.   CONST aFrameTitle                 * = 8042D1C7H; (* V4  i.. STRPTR            *)
  588.   CONST aHeight                     * = 80423237H; (* V4  ..g LONG              *)
  589.   CONST aHorizWeight                * = 80426DB9H; (* V4  i.. WORD              *)
  590.   CONST aInnerBottom                * = 8042F2C0H; (* V4  i.. LONG              *)
  591.   CONST aInnerLeft                  * = 804228F8H; (* V4  i.. LONG              *)
  592.   CONST aInnerRight                 * = 804297FFH; (* V4  i.. LONG              *)
  593.   CONST aInnerTop                   * = 80421EB6H; (* V4  i.. LONG              *)
  594.   CONST aInputMode                  * = 8042FB04H; (* V4  i.. LONG              *)
  595.   CONST aLeftEdge                   * = 8042BEC6H; (* V4  ..g LONG              *)
  596.   CONST aPressed                    * = 80423535H; (* V4  ..g BOOL              *)
  597.   CONST aRightEdge                  * = 8042BA82H; (* V4  ..g LONG              *)
  598.   CONST aSelected                   * = 8042654BH; (* V4  isg BOOL              *)
  599.   CONST aShowMe                     * = 80429BA8H; (* V4  isg BOOL              *)
  600.   CONST aShowSelState               * = 8042CAACH; (* V4  i.. BOOL              *)
  601.   CONST aTimer                      * = 80426435H; (* V4  ..g LONG              *)
  602.   CONST aTopEdge                    * = 8042509BH; (* V4  ..g LONG              *)
  603.   CONST aVertWeight                 * = 804298D0H; (* V4  i.. WORD              *)
  604.   CONST aWeight                     * = 80421D1FH; (* V4  i.. WORD              *)
  605.   CONST aWidth                      * = 8042B59CH; (* V4  ..g LONG              *)
  606.   CONST aWindow                     * = 80421591H; (* V4  ..g struct Window *   *)
  607.   CONST aWindowObject               * = 8042669EH; (* V4  ..g Object *          *)
  608.  
  609.   CONST vFontInherit                * = 0;
  610.   CONST vFontNormal                 * = -1;
  611.   CONST vFontList                   * = -2;
  612.   CONST vFontTiny                   * = -3;
  613.   CONST vFontFixed                  * = -4;
  614.   CONST vFontTitle                  * = -5;
  615.   CONST vFontBig                    * = -6;
  616.   CONST vFrameNone                  * = 0;
  617.   CONST vFrameButton                * = 1;
  618.   CONST vFrameImageButton           * = 2;
  619.   CONST vFrameText                  * = 3;
  620.   CONST vFrameString                * = 4;
  621.   CONST vFrameReadList              * = 5;
  622.   CONST vFrameInputList             * = 6;
  623.   CONST vFrameProp                  * = 7;
  624.   CONST vFrameGauge                 * = 8;
  625.   CONST vFrameGroup                 * = 9;
  626.   CONST vFramePopUp                 * = 10;
  627.   CONST vFrameVirtual               * = 11;
  628.   CONST vFrameSlider                * = 12;
  629.   CONST vFrameCount                 * = 13;
  630.   CONST vInputModeNone              * = 0;
  631.   CONST vInputModeRelVerify         * = 1;
  632.   CONST vInputModeImmediate         * = 2;
  633.   CONST vInputModeToggle            * = 3;
  634.  
  635.  
  636. (****************************************************************************)
  637. (** Rectangle                                                              **)
  638. (****************************************************************************)
  639.  
  640.   cRectangle * = "Rectangle.mui";
  641.  
  642. (* Attributes *)
  643.  
  644.   CONST aRectangleHBar              * = 8042C943H; (* V7  i.g BOOL              *)
  645.   CONST aRectangleVBar              * = 80422204H; (* V7  i.g BOOL              *)
  646.  
  647.  
  648.  
  649. (****************************************************************************)
  650. (** Image                                                                  **)
  651. (****************************************************************************)
  652.  
  653.   cImage * = "Image.mui";
  654.  
  655. (* Attributes *)
  656.  
  657.   CONST aImageFontMatch             * = 8042815DH; (* V4  i.. BOOL              *)
  658.   CONST aImageFontMatchHeight       * = 80429F26H; (* V4  i.. BOOL              *)
  659.   CONST aImageFontMatchWidth        * = 804239BFH; (* V4  i.. BOOL              *)
  660.   CONST aImageFreeHoriz             * = 8042DA84H; (* V4  i.. BOOL              *)
  661.   CONST aImageFreeVert              * = 8042EA28H; (* V4  i.. BOOL              *)
  662.   CONST aImageOldImage              * = 80424F3DH; (* V4  i.. struct Image *    *)
  663.   CONST aImageSpec                  * = 804233D5H; (* V4  i.. char *            *)
  664.   CONST aImageState                 * = 8042A3ADH; (* V4  is. LONG              *)
  665.  
  666.  
  667.  
  668. (****************************************************************************)
  669. (** Bitmap                                                                 **)
  670. (****************************************************************************)
  671.  
  672.   cBitmap * = "Bitmap.mui";
  673.  
  674. (* Attributes *)
  675.  
  676.   CONST aBitmapBitmap               * = 804279BDH; (* V8  isg struct BitMap *   *)
  677.   CONST aBitmapHeight               * = 80421560H; (* V8  isg LONG              *)
  678.   CONST aBitmapMappingTable         * = 8042E23DH; (* V8  isg UBYTE *           *)
  679.   CONST aBitmapSourceColors         * = 80425360H; (* V8  isg ULONG *           *)
  680.   CONST aBitmapTransparent          * = 80422805H; (* V8  isg LONG              *)
  681.   CONST aBitmapWidth                * = 8042EB3AH; (* V8  isg LONG              *)
  682.  
  683.  
  684.  
  685. (****************************************************************************)
  686. (** Bodychunk                                                              **)
  687. (****************************************************************************)
  688.  
  689.   cBodychunk * = "Bodychunk.mui";
  690.  
  691. (* Attributes *)
  692.  
  693.   CONST aBodychunkBody              * = 8042CA67H; (* V8  isg UBYTE *           *)
  694.   CONST aBodychunkCompression       * = 8042DE5FH; (* V8  isg UBYTE             *)
  695.   CONST aBodychunkDepth             * = 8042C392H; (* V8  isg LONG              *)
  696.   CONST aBodychunkMasking           * = 80423B0EH; (* V8  isg UBYTE             *)
  697.  
  698.  
  699.  
  700. (****************************************************************************)
  701. (** Text                                                                   **)
  702. (****************************************************************************)
  703.  
  704.   cText * = "Text.mui";
  705.  
  706. (* Attributes *)
  707.  
  708.   CONST aTextContents               * = 8042F8DCH; (* V4  isg STRPTR            *)
  709.   CONST aTextHiChar                 * = 804218FFH; (* V4  i.. char              *)
  710.   CONST aTextPreParse               * = 8042566DH; (* V4  isg STRPTR            *)
  711.   CONST aTextSetMax                 * = 80424D0AH; (* V4  i.. BOOL              *)
  712.   CONST aTextSetMin                 * = 80424E10H; (* V4  i.. BOOL              *)
  713.  
  714.  
  715.  
  716. (****************************************************************************)
  717. (** String                                                                 **)
  718. (****************************************************************************)
  719.  
  720.   cString * = "String.mui";
  721.  
  722. (* Attributes *)
  723.  
  724.   CONST aStringAccept               * = 8042E3E1H; (* V4  isg STRPTR            *)
  725.   CONST aStringAcknowledge          * = 8042026CH; (* V4  ..g STRPTR            *)
  726.   CONST aStringAttachedList         * = 80420FD2H; (* V4  i.. Object *          *)
  727.   CONST aStringBufferPos            * = 80428B6CH; (* V4  .sg LONG              *)
  728.   CONST aStringContents             * = 80428FFDH; (* V4  isg STRPTR            *)
  729.   CONST aStringDisplayPos           * = 8042CCBFH; (* V4  .sg LONG              *)
  730.   CONST aStringEditHook             * = 80424C33H; (* V7  isg struct Hook *     *)
  731.   CONST aStringFormat               * = 80427484H; (* V4  i.g LONG              *)
  732.   CONST aStringInteger              * = 80426E8AH; (* V4  isg ULONG             *)
  733.   CONST aStringMaxLen               * = 80424984H; (* V4  i.g LONG              *)
  734.   CONST aStringReject               * = 8042179CH; (* V4  isg STRPTR            *)
  735.   CONST aStringSecret               * = 80428769H; (* V4  i.g BOOL              *)
  736.  
  737.   CONST vStringFormatLeft           * = 0;
  738.   CONST vStringFormatCenter         * = 1;
  739.   CONST vStringFormatRight          * = 2;
  740.  
  741.  
  742. (****************************************************************************)
  743. (** Prop                                                                   **)
  744. (****************************************************************************)
  745.  
  746.   cProp * = "Prop.mui";
  747.  
  748. (* Attributes *)
  749.  
  750.   CONST aPropEntries                * = 8042FBDBH; (* V4  isg LONG              *)
  751.   CONST aPropFirst                  * = 8042D4B2H; (* V4  isg LONG              *)
  752.   CONST aPropHoriz                  * = 8042F4F3H; (* V4  i.g BOOL              *)
  753.   CONST aPropSlider                 * = 80429C3AH; (* V4  isg BOOL              *)
  754.   CONST aPropVisible                * = 8042FEA6H; (* V4  isg LONG              *)
  755.  
  756.  
  757.  
  758. (****************************************************************************)
  759. (** Gauge                                                                  **)
  760. (****************************************************************************)
  761.  
  762.   cGauge * = "Gauge.mui";
  763.  
  764. (* Attributes *)
  765.  
  766.   CONST aGaugeCurrent               * = 8042F0DDH; (* V4  isg LONG              *)
  767.   CONST aGaugeDivide                * = 8042D8DFH; (* V4  isg BOOL              *)
  768.   CONST aGaugeHoriz                 * = 804232DDH; (* V4  i.. BOOL              *)
  769.   CONST aGaugeInfoText              * = 8042BF15H; (* V7  isg char *            *)
  770.   CONST aGaugeMax                   * = 8042BCDBH; (* V4  isg LONG              *)
  771.  
  772.  
  773.  
  774. (****************************************************************************)
  775. (** Scale                                                                  **)
  776. (****************************************************************************)
  777.  
  778.   cScale * = "Scale.mui";
  779.  
  780. (* Attributes *)
  781.  
  782.   CONST aScaleHoriz                 * = 8042919AH; (* V4  isg BOOL              *)
  783.  
  784.  
  785.  
  786. (****************************************************************************)
  787. (** Boopsi                                                                 **)
  788. (****************************************************************************)
  789.  
  790.   cBoopsi * = "Boopsi.mui";
  791.  
  792. (* Attributes *)
  793.  
  794.   CONST aBoopsiClass                * = 80426999H; (* V4  isg struct IClass *   *)
  795.   CONST aBoopsiClassID              * = 8042BFA3H; (* V4  isg char *            *)
  796.   CONST aBoopsiMaxHeight            * = 8042757FH; (* V4  isg ULONG             *)
  797.   CONST aBoopsiMaxWidth             * = 8042BCB1H; (* V4  isg ULONG             *)
  798.   CONST aBoopsiMinHeight            * = 80422C93H; (* V4  isg ULONG             *)
  799.   CONST aBoopsiMinWidth             * = 80428FB2H; (* V4  isg ULONG             *)
  800.   CONST aBoopsiObject               * = 80420178H; (* V4  ..g Object *          *)
  801.   CONST aBoopsiRemember             * = 8042F4BDH; (* V4  i.. ULONG             *)
  802.   CONST aBoopsiSmart                * = 8042B8D7H; (* V9  i.. BOOL              *)
  803.   CONST aBoopsiTagDrawInfo          * = 8042BAE7H; (* V4  isg ULONG             *)
  804.   CONST aBoopsiTagScreen            * = 8042BC71H; (* V4  isg ULONG             *)
  805.   CONST aBoopsiTagWindow            * = 8042E11DH; (* V4  isg ULONG             *)
  806.  
  807.  
  808.  
  809. (****************************************************************************)
  810. (** Colorfield                                                             **)
  811. (****************************************************************************)
  812.  
  813.   cColorfield * = "Colorfield.mui";
  814.  
  815. (* Attributes *)
  816.  
  817.   CONST aColorfieldBlue             * = 8042D3B0H; (* V4  isg ULONG             *)
  818.   CONST aColorfieldGreen            * = 80424466H; (* V4  isg ULONG             *)
  819.   CONST aColorfieldPen              * = 8042713AH; (* V4  ..g ULONG             *)
  820.   CONST aColorfieldRed              * = 804279F6H; (* V4  isg ULONG             *)
  821.   CONST aColorfieldRGB              * = 8042677AH; (* V4  isg ULONG *           *)
  822.  
  823.  
  824.  
  825. (****************************************************************************)
  826. (** List                                                                   **)
  827. (****************************************************************************)
  828.  
  829.   cList * = "List.mui";
  830.  
  831. (* Methods *)
  832.  
  833.   CONST mListClear                 * = 8042AD89H; (* V4  *)
  834.   CONST mListExchange              * = 8042468CH; (* V4  *)
  835.   CONST mListGetEntry              * = 804280ECH; (* V4  *)
  836.   CONST mListInsert                * = 80426C87H; (* V4  *)
  837.   CONST mListInsertSingle          * = 804254D5H; (* V7  *)
  838.   CONST mListJump                  * = 8042BAABH; (* V4  *)
  839.   CONST mListMove                  * = 804253C2H; (* V9  *)
  840.   CONST mListNextSelected          * = 80425F17H; (* V6  *)
  841.   CONST mListRedraw                * = 80427993H; (* V4  *)
  842.   CONST mListRemove                * = 8042647EH; (* V4  *)
  843.   CONST mListSelect                * = 804252D8H; (* V4  *)
  844.   CONST mListSort                  * = 80422275H; (* V4  *)
  845.  
  846. (* Attributes *)
  847.  
  848.   CONST aListActive                 * = 8042391CH; (* V4  isg LONG              *)
  849.   CONST aListAdjustHeight           * = 8042850DH; (* V4  i.. BOOL              *)
  850.   CONST aListAdjustWidth            * = 8042354AH; (* V4  i.. BOOL              *)
  851.   CONST aListCompareHook            * = 80425C14H; (* V4  is. struct Hook *     *)
  852.   CONST aListConstructHook          * = 8042894FH; (* V4  is. struct Hook *     *)
  853.   CONST aListDestructHook           * = 804297CEH; (* V4  is. struct Hook *     *)
  854.   CONST aListDisplayHook            * = 8042B4D5H; (* V4  is. struct Hook *     *)
  855.   CONST aListEntries                * = 80421654H; (* V4  ..g LONG              *)
  856.   CONST aListFirst                  * = 804238D4H; (* V4  ..g LONG              *)
  857.   CONST aListFormat                 * = 80423C0AH; (* V4  isg STRPTR            *)
  858.   CONST aListInsertPosition         * = 8042D0CDH; (* V9  ..g LONG              *)
  859.   CONST aListMultiTestHook          * = 8042C2C6H; (* V4  is. struct Hook *     *)
  860.   CONST aListQuiet                  * = 8042D8C7H; (* V4  .s. BOOL              *)
  861.   CONST aListSourceArray            * = 8042C0A0H; (* V4  i.. APTR              *)
  862.   CONST aListTitle                  * = 80423E66H; (* V6  isg char *            *)
  863.   CONST aListVisible                * = 8042191FH; (* V4  ..g LONG              *)
  864.  
  865.   CONST vListActiveOff              * = -1;
  866.   CONST vListActiveTop              * = -2;
  867.   CONST vListActiveBottom           * = -3;
  868.   CONST vListActiveUp               * = -4;
  869.   CONST vListActiveDown             * = -5;
  870.   CONST vListActivePageUp           * = -6;
  871.   CONST vListActivePageDown         * = -7;
  872.   CONST vListConstructHookString    * = -1;
  873.   CONST vListDestructHookString     * = -1;
  874.  
  875.  
  876. (****************************************************************************)
  877. (** Floattext                                                              **)
  878. (****************************************************************************)
  879.  
  880.   cFloattext * = "Floattext.mui";
  881.  
  882. (* Attributes *)
  883.  
  884.   CONST aFloattextJustify           * = 8042DC03H; (* V4  isg BOOL              *)
  885.   CONST aFloattextSkipChars         * = 80425C7DH; (* V4  is. STRPTR            *)
  886.   CONST aFloattextTabSize           * = 80427D17H; (* V4  is. LONG              *)
  887.   CONST aFloattextText              * = 8042D16AH; (* V4  isg STRPTR            *)
  888.  
  889.  
  890.  
  891. (****************************************************************************)
  892. (** Volumelist                                                             **)
  893. (****************************************************************************)
  894.  
  895.   cVolumelist * = "Volumelist.mui";
  896.  
  897.  
  898. (****************************************************************************)
  899. (** Scrmodelist                                                            **)
  900. (****************************************************************************)
  901.  
  902.   cScrmodelist * = "Scrmodelist.mui";
  903.  
  904. (* Attributes *)
  905.  
  906.  
  907.  
  908.  
  909. (****************************************************************************)
  910. (** Dirlist                                                                **)
  911. (****************************************************************************)
  912.  
  913.   cDirlist * = "Dirlist.mui";
  914.  
  915. (* Methods *)
  916.  
  917.   CONST mDirlistReRead             * = 80422D71H; (* V4  *)
  918.  
  919. (* Attributes *)
  920.  
  921.   CONST aDirlistAcceptPattern       * = 8042760AH; (* V4  is. STRPTR            *)
  922.   CONST aDirlistDirectory           * = 8042EA41H; (* V4  isg STRPTR            *)
  923.   CONST aDirlistDrawersOnly         * = 8042B379H; (* V4  is. BOOL              *)
  924.   CONST aDirlistFilesOnly           * = 8042896AH; (* V4  is. BOOL              *)
  925.   CONST aDirlistFilterDrawers       * = 80424AD2H; (* V4  is. BOOL              *)
  926.   CONST aDirlistFilterHook          * = 8042AE19H; (* V4  is. struct Hook *     *)
  927.   CONST aDirlistMultiSelDirs        * = 80428653H; (* V6  is. BOOL              *)
  928.   CONST aDirlistNumBytes            * = 80429E26H; (* V4  ..g LONG              *)
  929.   CONST aDirlistNumDrawers          * = 80429CB8H; (* V4  ..g LONG              *)
  930.   CONST aDirlistNumFiles            * = 8042A6F0H; (* V4  ..g LONG              *)
  931.   CONST aDirlistPath                * = 80426176H; (* V4  ..g STRPTR            *)
  932.   CONST aDirlistRejectIcons         * = 80424808H; (* V4  is. BOOL              *)
  933.   CONST aDirlistRejectPattern       * = 804259C7H; (* V4  is. STRPTR            *)
  934.   CONST aDirlistSortDirs            * = 8042BBB9H; (* V4  is. LONG              *)
  935.   CONST aDirlistSortHighLow         * = 80421896H; (* V4  is. BOOL              *)
  936.   CONST aDirlistSortType            * = 804228BCH; (* V4  is. LONG              *)
  937.   CONST aDirlistStatus              * = 804240DEH; (* V4  ..g LONG              *)
  938.  
  939.   CONST vDirlistSortDirsFirst       * = 0;
  940.   CONST vDirlistSortDirsLast        * = 1;
  941.   CONST vDirlistSortDirsMix         * = 2;
  942.   CONST vDirlistSortTypeName        * = 0;
  943.   CONST vDirlistSortTypeDate        * = 1;
  944.   CONST vDirlistSortTypeSize        * = 2;
  945.   CONST vDirlistStatusInvalid       * = 0;
  946.   CONST vDirlistStatusReading       * = 1;
  947.   CONST vDirlistStatusValid         * = 2;
  948.  
  949.  
  950. (****************************************************************************)
  951. (** Group                                                                  **)
  952. (****************************************************************************)
  953.  
  954.   cGroup * = "Group.mui";
  955.  
  956. (* Methods *)
  957.  
  958.  
  959. (* Attributes *)
  960.  
  961.   CONST aGroupActivePage            * = 80424199H; (* V5  isg LONG              *)
  962.   CONST aGroupChild                 * = 804226E6H; (* V4  i.. Object *          *)
  963.   CONST aGroupColumns               * = 8042F416H; (* V4  is. LONG              *)
  964.   CONST aGroupHoriz                 * = 8042536BH; (* V4  i.. BOOL              *)
  965.   CONST aGroupHorizSpacing          * = 8042C651H; (* V4  is. LONG              *)
  966.   CONST aGroupPageMode              * = 80421A5FH; (* V5  is. BOOL              *)
  967.   CONST aGroupRows                  * = 8042B68FH; (* V4  is. LONG              *)
  968.   CONST aGroupSameHeight            * = 8042037EH; (* V4  i.. BOOL              *)
  969.   CONST aGroupSameSize              * = 80420860H; (* V4  i.. BOOL              *)
  970.   CONST aGroupSameWidth             * = 8042B3ECH; (* V4  i.. BOOL              *)
  971.   CONST aGroupSpacing               * = 8042866DH; (* V4  is. LONG              *)
  972.   CONST aGroupVertSpacing           * = 8042E1BFH; (* V4  is. LONG              *)
  973.  
  974.   CONST vGroupActivePageFirst       * = 0;
  975.   CONST vGroupActivePageLast        * = -1;
  976.   CONST vGroupActivePagePrev        * = -2;
  977.   CONST vGroupActivePageNext        * = -3;
  978.  
  979.  
  980. (****************************************************************************)
  981. (** Register                                                               **)
  982. (****************************************************************************)
  983.  
  984.   cRegister * = "Register.mui";
  985.  
  986. (* Attributes *)
  987.  
  988.   CONST aRegisterFrame              * = 8042349BH; (* V7  i.g BOOL              *)
  989.   CONST aRegisterTitles             * = 804297ECH; (* V7  i.g STRPTR *          *)
  990.  
  991.  
  992.  
  993. (****************************************************************************)
  994. (** Virtgroup                                                              **)
  995. (****************************************************************************)
  996.  
  997.   cVirtgroup * = "Virtgroup.mui";
  998.  
  999. (* Methods *)
  1000.  
  1001.  
  1002. (* Attributes *)
  1003.  
  1004.   CONST aVirtgroupHeight            * = 80423038H; (* V6  ..g LONG              *)
  1005.   CONST aVirtgroupLeft              * = 80429371H; (* V6  isg LONG              *)
  1006.   CONST aVirtgroupTop               * = 80425200H; (* V6  isg LONG              *)
  1007.   CONST aVirtgroupWidth             * = 80427C49H; (* V6  ..g LONG              *)
  1008.  
  1009.  
  1010.  
  1011. (****************************************************************************)
  1012. (** Scrollgroup                                                            **)
  1013. (****************************************************************************)
  1014.  
  1015.   cScrollgroup * = "Scrollgroup.mui";
  1016.  
  1017. (* Attributes *)
  1018.  
  1019.   CONST aScrollgroupContents        * = 80421261H; (* V4  i.. Object *          *)
  1020.   CONST aScrollgroupFreeHoriz       * = 804292F3H; (* V9  i.. BOOL              *)
  1021.   CONST aScrollgroupFreeVert        * = 804224F2H; (* V9  i.. BOOL              *)
  1022.  
  1023.  
  1024.  
  1025. (****************************************************************************)
  1026. (** Scrollbar                                                              **)
  1027. (****************************************************************************)
  1028.  
  1029.   cScrollbar * = "Scrollbar.mui";
  1030.  
  1031.  
  1032. (****************************************************************************)
  1033. (** Listview                                                               **)
  1034. (****************************************************************************)
  1035.  
  1036.   cListview * = "Listview.mui";
  1037.  
  1038. (* Attributes *)
  1039.  
  1040.   CONST aListviewClickColumn        * = 8042D1B3H; (* V7  ..g LONG              *)
  1041.   CONST aListviewDefClickColumn     * = 8042B296H; (* V7  isg LONG              *)
  1042.   CONST aListviewDoubleClick        * = 80424635H; (* V4  i.g BOOL              *)
  1043.   CONST aListviewInput              * = 8042682DH; (* V4  i.. BOOL              *)
  1044.   CONST aListviewList               * = 8042BCCEH; (* V4  i.. Object *          *)
  1045.   CONST aListviewMultiSelect        * = 80427E08H; (* V7  i.. LONG              *)
  1046.   CONST aListviewScrollerPos        * = 8042B1B4H; (* V10 i.. BOOL              *)
  1047.   CONST aListviewSelectChange       * = 8042178FH; (* V4  ..g BOOL              *)
  1048.  
  1049.   CONST vListviewMultiSelectNone    * = 0;
  1050.   CONST vListviewMultiSelectDefault * = 1;
  1051.   CONST vListviewMultiSelectShifted * = 2;
  1052.   CONST vListviewMultiSelectAlways  * = 3;
  1053.   CONST vListviewScrollerPosDefault * = 0;
  1054.   CONST vListviewScrollerPosLeft    * = 1;
  1055.   CONST vListviewScrollerPosRight   * = 2;
  1056.  
  1057.  
  1058. (****************************************************************************)
  1059. (** Radio                                                                  **)
  1060. (****************************************************************************)
  1061.  
  1062.   cRadio * = "Radio.mui";
  1063.  
  1064. (* Attributes *)
  1065.  
  1066.   CONST aRadioActive                * = 80429B41H; (* V4  isg LONG              *)
  1067.   CONST aRadioEntries               * = 8042B6A1H; (* V4  i.. STRPTR *          *)
  1068.  
  1069.  
  1070.  
  1071. (****************************************************************************)
  1072. (** Cycle                                                                  **)
  1073. (****************************************************************************)
  1074.  
  1075.   cCycle * = "Cycle.mui";
  1076.  
  1077. (* Attributes *)
  1078.  
  1079.   CONST aCycleActive                * = 80421788H; (* V4  isg LONG              *)
  1080.   CONST aCycleEntries               * = 80420629H; (* V4  i.. STRPTR *          *)
  1081.  
  1082.   CONST vCycleActiveNext            * = -1;
  1083.   CONST vCycleActivePrev            * = -2;
  1084.  
  1085.  
  1086. (****************************************************************************)
  1087. (** Slider                                                                 **)
  1088. (****************************************************************************)
  1089.  
  1090.   cSlider * = "Slider.mui";
  1091.  
  1092. (* Attributes *)
  1093.  
  1094.   CONST aSliderLevel                * = 8042AE3AH; (* V4  isg LONG              *)
  1095.   CONST aSliderMax                  * = 8042D78AH; (* V4  isg LONG              *)
  1096.   CONST aSliderMin                  * = 8042E404H; (* V4  isg LONG              *)
  1097.   CONST aSliderQuiet                * = 80420B26H; (* V6  i.. BOOL              *)
  1098.   CONST aSliderReverse              * = 8042F2A0H; (* V4  isg BOOL              *)
  1099.  
  1100.  
  1101.  
  1102. (****************************************************************************)
  1103. (** Coloradjust                                                            **)
  1104. (****************************************************************************)
  1105.  
  1106.   cColoradjust * = "Coloradjust.mui";
  1107.  
  1108. (* Attributes *)
  1109.  
  1110.   CONST aColoradjustBlue            * = 8042B8A3H; (* V4  isg ULONG             *)
  1111.   CONST aColoradjustGreen           * = 804285ABH; (* V4  isg ULONG             *)
  1112.   CONST aColoradjustModeID          * = 8042EC59H; (* V4  isg ULONG             *)
  1113.   CONST aColoradjustRed             * = 80420EAAH; (* V4  isg ULONG             *)
  1114.   CONST aColoradjustRGB             * = 8042F899H; (* V4  isg ULONG *           *)
  1115.  
  1116.  
  1117.  
  1118. (****************************************************************************)
  1119. (** Palette                                                                **)
  1120. (****************************************************************************)
  1121.  
  1122.   cPalette * = "Palette.mui";
  1123.  
  1124. (* Attributes *)
  1125.  
  1126.   CONST aPaletteEntries             * = 8042A3D8H; (* V6  i.g struct MUI_Palette_Entry * *)
  1127.   CONST aPaletteGroupable           * = 80423E67H; (* V6  isg BOOL              *)
  1128.   CONST aPaletteNames               * = 8042C3A2H; (* V6  isg char **           *)
  1129.  
  1130.  
  1131.  
  1132. (****************************************************************************)
  1133. (** Colorpanel                                                             **)
  1134. (****************************************************************************)
  1135.  
  1136.   cColorpanel * = "Colorpanel.mui";
  1137.  
  1138. (* Methods *)
  1139.  
  1140.  
  1141. (* Attributes *)
  1142.  
  1143.  
  1144.  
  1145.  
  1146. (****************************************************************************)
  1147. (** Popstring                                                              **)
  1148. (****************************************************************************)
  1149.  
  1150.   cPopstring * = "Popstring.mui";
  1151.  
  1152. (* Methods *)
  1153.  
  1154.   CONST mPopstringClose            * = 8042DC52H; (* V7  *)
  1155.   CONST mPopstringOpen             * = 804258BAH; (* V7  *)
  1156.  
  1157. (* Attributes *)
  1158.  
  1159.   CONST aPopstringButton            * = 8042D0B9H; (* V7  i.g Object *          *)
  1160.   CONST aPopstringCloseHook         * = 804256BFH; (* V7  isg struct Hook *     *)
  1161.   CONST aPopstringOpenHook          * = 80429D00H; (* V7  isg struct Hook *     *)
  1162.   CONST aPopstringString            * = 804239EAH; (* V7  i.g Object *          *)
  1163.   CONST aPopstringToggle            * = 80422B7AH; (* V7  isg BOOL              *)
  1164.  
  1165.  
  1166.  
  1167. (****************************************************************************)
  1168. (** Popobject                                                              **)
  1169. (****************************************************************************)
  1170.  
  1171.   cPopobject * = "Popobject.mui";
  1172.  
  1173. (* Attributes *)
  1174.  
  1175.   CONST aPopobjectFollow            * = 80424CB5H; (* V7  isg BOOL              *)
  1176.   CONST aPopobjectLight             * = 8042A5A3H; (* V7  isg BOOL              *)
  1177.   CONST aPopobjectObject            * = 804293E3H; (* V7  i.g Object *          *)
  1178.   CONST aPopobjectObjStrHook        * = 8042DB44H; (* V7  isg struct Hook *     *)
  1179.   CONST aPopobjectStrObjHook        * = 8042FBE1H; (* V7  isg struct Hook *     *)
  1180.   CONST aPopobjectVolatile          * = 804252ECH; (* V7  isg BOOL              *)
  1181.   CONST aPopobjectWindowHook        * = 8042F194H; (* V9  isg struct Hook *     *)
  1182.  
  1183.  
  1184.  
  1185. (****************************************************************************)
  1186. (** Poplist                                                                **)
  1187. (****************************************************************************)
  1188.  
  1189.   cPoplist * = "Poplist.mui";
  1190.  
  1191. (* Attributes *)
  1192.  
  1193.   CONST aPoplistArray               * = 8042084CH; (* V8  i.. char **           *)
  1194.  
  1195.  
  1196.  
  1197. (****************************************************************************)
  1198. (** Popasl                                                                 **)
  1199. (****************************************************************************)
  1200.  
  1201.   cPopasl * = "Popasl.mui";
  1202.  
  1203. (* Attributes *)
  1204.  
  1205.   CONST aPopaslActive               * = 80421B37H; (* V7  ..g BOOL              *)
  1206.   CONST aPopaslStartHook            * = 8042B703H; (* V7  isg struct Hook *     *)
  1207.   CONST aPopaslStopHook             * = 8042D8D2H; (* V7  isg struct Hook *     *)
  1208.   CONST aPopaslType                 * = 8042DF3DH; (* V7  i.g ULONG             *)
  1209.  
  1210.  
  1211.  
  1212. (*****************************************)
  1213. (* End of automatic header file creation *)
  1214. (*****************************************)
  1215.  
  1216.  
  1217.  
  1218.  
  1219. (****************************************************************************)
  1220. (** Special values for WindowObjects                                       **)
  1221. (****************************************************************************)
  1222.  
  1223.  
  1224.   PROCEDURE vWindowAltHeightMinMax      * (p{0}:LONGINT): LONGINT; BEGIN RETURN (0-(p)) END vWindowAltHeightMinMax;
  1225.   PROCEDURE vWindowAltHeightVisible     * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-100-(p)) END vWindowAltHeightVisible;
  1226.   PROCEDURE vWindowAltHeightScreen      * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-200-(p)) END vWindowAltHeightScreen;
  1227.  
  1228.   PROCEDURE vWindowAltTopEdgeDelta      * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-3-(p)) END vWindowAltTopEdgeDelta;
  1229.   PROCEDURE vWindowAltWidthMinMax       * (p{0}:LONGINT): LONGINT; BEGIN RETURN (0-(p)) END vWindowAltWidthMinMax;
  1230.   PROCEDURE vWindowAltWidthVisible      * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-100-(p)) END vWindowAltWidthVisible;
  1231.   PROCEDURE vWindowAltWidthScreen       * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-200-(p)) END vWindowAltWidthScreen;
  1232.   PROCEDURE vWindowHeightMinMax         * (p{0}:LONGINT): LONGINT; BEGIN RETURN (0-(p)) END vWindowHeightMinMax;
  1233.   PROCEDURE vWindowHeightVisible        * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-100-(p)) END vWindowHeightVisible;
  1234.   PROCEDURE vWindowHeightScreen         * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-200-(p)) END vWindowHeightScreen;
  1235.   PROCEDURE vWindowTopEdgeDelta         * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-3-(p)) END vWindowTopEdgeDelta;
  1236.   PROCEDURE vWindowWidthMinMax          * (p{0}:LONGINT): LONGINT; BEGIN RETURN (0-(p)) END vWindowWidthMinMax;
  1237.   PROCEDURE vWindowWidthVisible         * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-100-(p)) END vWindowWidthVisible;
  1238.   PROCEDURE vWindowWidthScreen          * (p{0}:LONGINT): LONGINT; BEGIN RETURN (-200-(p)) END vWindowWidthScreen;
  1239.  
  1240. (***************************************************************************
  1241. ** Parameter structures for some classes
  1242. ***************************************************************************)
  1243.  
  1244. TYPE
  1245.   PaletteEntryPtr * = UNTRACED POINTER TO PaletteEntry;
  1246.   RenderInfoPtr * = UNTRACED POINTER TO RenderInfo;
  1247.   ScrmodelistEntryPtr * = UNTRACED POINTER TO ScrmodelistEntry;
  1248.   NotifyDataPtr * = UNTRACED POINTER TO NotifyData;
  1249.   MinMaxPtr * = UNTRACED POINTER TO MinMax;
  1250.   AreaDataPtr * = UNTRACED POINTER TO AreaData;
  1251.   GlobalInfoPtr * = UNTRACED POINTER TO GlobalInfo;
  1252.  
  1253.  
  1254.   PaletteEntry * = STRUCT;
  1255.                      id    * : LONGINT;
  1256.                      red   * : LONGINT;
  1257.                      green * : LONGINT;
  1258.                      blue  * : LONGINT;
  1259.                      group * : LONGINT;;
  1260.                    END;
  1261.  
  1262.  
  1263. CONST vPaletteEntryEnd = -1;
  1264.  
  1265. TYPE
  1266.   ScrmodelistEntry * = STRUCT;
  1267.                          name   * : Exec.STRPTR;
  1268.                          modeID * : LONGINT;
  1269.                        END;
  1270.  
  1271. (*************************************************************************
  1272. ** Structures and Macros for creating custom classes.
  1273. *************************************************************************)
  1274.  
  1275.  
  1276. (*
  1277. ** GENERAL NOTES:
  1278. **
  1279. ** - Everything described in this header file is only valid within
  1280. **   MUI classes. You may never use any of these things out of
  1281. **   a class, e.g. in a traditional MUI application.
  1282. **
  1283. ** - Except when otherwise stated, all structures are strictly read only.
  1284. *)
  1285.  
  1286.  
  1287. (* Instance data of notify class *)
  1288.  
  1289. TYPE
  1290.   NotifyData * = STRUCT
  1291.                    globalInfo * : GlobalInfoPtr;
  1292.                    userData   * : LONGINT;
  1293.                    priv0      * : LONGINT;
  1294.                    priv1      * : LONGINT;
  1295.                    priv2      * : LONGINT;
  1296.                    priv3      * : LONGINT;
  1297.                    priv4      * : LONGINT;
  1298.                  END;
  1299.  
  1300.  
  1301. (* MUI_MinMax structure holds information about minimum, maximum
  1302.    and default dimensions of an object. *)
  1303.  
  1304.   MinMax * = STRUCT
  1305.                minWidth  * : INTEGER;
  1306.                minHeight * : INTEGER;
  1307.                maxWidth  * : INTEGER;
  1308.                maxHeight * : INTEGER;
  1309.                defWidth  * : INTEGER;
  1310.                defHeight * : INTEGER;
  1311.              END;
  1312.  
  1313. CONST maxmax  * = 10000; (* use this if a dimension is not limited. *)
  1314.  
  1315.  
  1316. (* (partial) instance data of area class *)
  1317.  
  1318. TYPE
  1319.   AreaData * = STRUCT
  1320.                 renderInfo * : RenderInfoPtr;         (* RenderInfo for this object *)
  1321.                 priv0        : Exec.APTR;             (* !!! private data !!! *)
  1322.                 font       * : Graphics.TextFontPtr;  (* Font *)
  1323.                 minMax     * : MinMax;             (* min/max/default sizes *)
  1324.                 box        * : Intuition.IBox;        (* position and dimension *)
  1325.                 addleft    * : SHORTINT;              (* frame & innerspacing left offset *)
  1326.                 addtop     * : SHORTINT;              (* frame & innerspacing top offset  *)
  1327.                 subwidth   * : SHORTINT;              (* frame & innerspacing add. width  *)
  1328.                 subheight  * : SHORTINT;              (* frame & innerspacing add. height *)
  1329.                 flags      * : LONGSET;               (* see definitions below *)
  1330.                 (* ... private data follows ... *)
  1331.               END;
  1332.  
  1333. (* Definitions for AreaData.flags *)
  1334.  
  1335. CONST
  1336.   adfDrawobject * = 0; (* completely redraw yourself *)
  1337.   adfDrawupdate * = 1; (* only update yourself *)
  1338.  
  1339.  
  1340. (* Global information about parent application. *)
  1341.  
  1342. TYPE
  1343.   GlobalInfo * = STRUCT;
  1344.                    priv0             : Exec.APTR; (* !!! private data !!! *)
  1345.                    applicationObject * : Object;
  1346.  
  1347.                    (* ... private data follows ... *)
  1348.                  END;
  1349.  
  1350. (* MUI's draw pens *)
  1351.  
  1352. CONST
  1353.   penShine      *= 0;
  1354.   penHalfshine  *= 1;
  1355.   penBackground *= 2;
  1356.   penHalfshadow *= 3;
  1357.   penShadow     *= 4;
  1358.   penText       *= 5;
  1359.   penFill       *= 6;
  1360.   penActiveObj  *= 7;
  1361.   penCount      *= 8;
  1362.  
  1363. TYPE
  1364.  
  1365.   PenPtr * = UNTRACED POINTER TO ARRAY penCount OF INTEGER;
  1366.  
  1367. (* Information on display environment *)
  1368.  
  1369.   RenderInfo * = STRUCT;
  1370.                    windowObject  * : Object;              (* valid between MUIM_Setup/MUIM_Cleanup *)
  1371.                    screen        * : Intuition.ScreenPtr; (* valid between MUIM_Setup/MUIM_Cleanup *)
  1372.                    drawInfo      * : Intuition.DrawInfoPtr;  (* valid between MUIM_Setup/MUIM_Cleanup *)
  1373.                    pens          * : PenPtr;              (* valid between MUIM_Setup/MUIM_Cleanup *)
  1374.                    window        * : Intuition.WindowPtr; (* valid between MUIM_Show/MUIM_Hide *)
  1375.                    rastPort      * : Graphics.RastPortPtr;    (* valid between MUIM_Show/MUIM_Hide *)
  1376.                    (* ... private data follows ...*)
  1377.                  END;
  1378.  
  1379.  
  1380. (* the following macros can be used to get pointers to an objects
  1381.    GlobalInfo and RenderInfo structures. *)
  1382.  
  1383.   dummyXFC2 = UNTRACED POINTER TO STRUCT;
  1384.                             mnd : NotifyData;
  1385.                             mad : AreaData;
  1386.                           END;
  1387.  
  1388.   PROCEDURE GetNotifyData*( obj{0} : Object ):NotifyDataPtr;
  1389.     VAR d : dummyXFC2;
  1390.     BEGIN
  1391.       d:= SYSTEM.VAL( dummyXFC2, obj );
  1392.       RETURN SYSTEM.VAL( NotifyDataPtr,SYSTEM.ADR( d.mnd  ) );
  1393.     END GetNotifyData;
  1394.  
  1395.   PROCEDURE GetAreaData*( obj{0} : Object ):AreaDataPtr;
  1396.     VAR d : dummyXFC2;
  1397.     BEGIN
  1398.       d:= SYSTEM.VAL( dummyXFC2, obj );
  1399.       RETURN SYSTEM.VAL( AreaDataPtr,SYSTEM.ADR( d.mad  ) );
  1400.     END GetAreaData;
  1401.  
  1402.   PROCEDURE GetGlobalInfo*( obj{0} : Object ):GlobalInfoPtr;
  1403.     BEGIN
  1404.       RETURN SYSTEM.VAL( dummyXFC2, obj ).mnd.globalInfo;
  1405.     END GetGlobalInfo;
  1406.  
  1407.   PROCEDURE GetRenderInfo*( obj{0} : Object ):RenderInfoPtr;
  1408.     BEGIN
  1409.       RETURN SYSTEM.VAL( dummyXFC2, obj ).mad.renderInfo;
  1410.     END GetRenderInfo;
  1411.  
  1412.  
  1413. (* User configurable keyboard events coming with MUIM_HandleInput *)
  1414.  
  1415. CONST
  1416.   keyRelease     *= -2; (* not a real key, faked when wenn keyPress is released *)
  1417.   keyNone        *= -1;
  1418.   keyPress       *= 0;
  1419.   keyToggle      *= 1;
  1420.   keyUp          *= 2;
  1421.   keyDown        *= 3;
  1422.   keyPageUp      *= 4;
  1423.   keyPageDown    *= 5;
  1424.   keyTop         *= 6;
  1425.   keyBottom      *= 7;
  1426.   keyLeft        *= 8;
  1427.   keyRight       *= 9;
  1428.   keyWordLeft    *= 10;
  1429.   keyWordRight   *= 11;
  1430.   keyLineStart   *= 12;
  1431.   keyLineEnd     *= 13;
  1432.   keyGadgetNext  *= 14;
  1433.   keyGadgetPrev  *= 15;
  1434.   keyGadgetOff   *= 16;
  1435.   keyWindowClose *= 17;
  1436.   keyWindowNext  *= 18;
  1437.   keyWindowPrev  *= 19;
  1438.   keyHelp        *= 20;
  1439.   keyPopup       *= 21;
  1440.  
  1441. (* Some useful shortcuts. define MUI_NOSHORTCUTS to get rid of them *)
  1442.  
  1443.   PROCEDURE app*( obj{0} : Object ):Object;
  1444.     BEGIN RETURN GetGlobalInfo( obj ).applicationObject END app;
  1445.  
  1446.   PROCEDURE win*( obj{0} : Object ):Object;
  1447.     BEGIN RETURN GetRenderInfo( obj ).windowObject END win;
  1448.  
  1449.   PROCEDURE dri*( obj{0} : Object ):Intuition.DrawInfoPtr;
  1450.     BEGIN RETURN GetRenderInfo( obj ).drawInfo END dri;
  1451.  
  1452.   PROCEDURE window*( obj{0} : Object ):Intuition.WindowPtr;
  1453.     BEGIN RETURN GetRenderInfo( obj ).window END window;
  1454.  
  1455.   PROCEDURE screen*( obj{0} : Object ):Intuition.ScreenPtr;
  1456.     BEGIN RETURN GetRenderInfo( obj ).screen END screen;
  1457.  
  1458.   PROCEDURE rp*( obj{0} : Object ):Graphics.RastPortPtr;
  1459.     BEGIN RETURN GetRenderInfo( obj ).rastPort END rp;
  1460.  
  1461.   PROCEDURE left*( obj{0} : Object ):INTEGER;
  1462.     BEGIN RETURN GetAreaData( obj ).box.left END left;
  1463.  
  1464.   PROCEDURE top*( obj{0} : Object ):INTEGER;
  1465.     BEGIN RETURN GetAreaData( obj ).box.top END top;
  1466.  
  1467.   PROCEDURE width*( obj{0} : Object ):INTEGER;
  1468.     BEGIN RETURN GetAreaData( obj ).box.width END width;
  1469.  
  1470.   PROCEDURE height*( obj{0} : Object ):INTEGER;
  1471.     BEGIN RETURN GetAreaData( obj ).box.height END height;
  1472.  
  1473.   PROCEDURE right*( obj{0} : Object ):INTEGER;
  1474.     BEGIN RETURN  left(obj)+width(obj)-1 END right;
  1475.  
  1476.   PROCEDURE bottom*( obj{0} : Object ):INTEGER;
  1477.     BEGIN RETURN top(obj)+height(obj)-1 END bottom;
  1478.  
  1479.   PROCEDURE addleft*( obj{0} : Object ):SHORTINT;
  1480.     BEGIN RETURN GetAreaData(obj).addleft END addleft;
  1481.  
  1482.   PROCEDURE addtop*( obj{0} : Object ):SHORTINT;
  1483.     BEGIN RETURN GetAreaData(obj).addtop END addtop;
  1484.  
  1485.   PROCEDURE subwidth*( obj{0} : Object ):SHORTINT;
  1486.     BEGIN RETURN  GetAreaData(obj).subwidth END subwidth;
  1487.  
  1488.   PROCEDURE subheight*( obj{0} : Object ):SHORTINT;
  1489.     BEGIN RETURN GetAreaData(obj).subheight END subheight;
  1490.  
  1491.   PROCEDURE mleft*( obj{0} : Object ):INTEGER;
  1492.     BEGIN RETURN ( left(obj)+addleft(obj) ) END mleft;
  1493.  
  1494.   PROCEDURE mtop*( obj{0} : Object ):INTEGER;
  1495.     BEGIN RETURN ( top(obj)+addtop(obj) ) END mtop;
  1496.  
  1497.   PROCEDURE mwidth*( obj{0} : Object ):INTEGER;
  1498.     BEGIN RETURN ( width(obj)-subwidth(obj) ) END mwidth;
  1499.  
  1500.   PROCEDURE mheight*( obj{0} : Object ):INTEGER;
  1501.     BEGIN RETURN ( height(obj)-subheight(obj) ) END mheight;
  1502.  
  1503.   PROCEDURE mright*( obj{0} : Object ):INTEGER;
  1504.     BEGIN RETURN ( mleft(obj)+mwidth(obj)-1 ) END mright;
  1505.  
  1506.   PROCEDURE mbottom*( obj{0} : Object ):INTEGER;
  1507.     BEGIN RETURN ( mtop(obj)+mheight(obj)-1 ) END mbottom;
  1508.  
  1509.   PROCEDURE font*( obj{0} : Object ):Graphics.TextFontPtr;
  1510.     BEGIN RETURN GetAreaData(obj).font END font;
  1511.  
  1512.   PROCEDURE flags*( obj{0} : Object ):LONGSET;
  1513.     BEGIN RETURN GetAreaData(obj).flags END flags;
  1514.  
  1515. (* Mui.CustomClass returned by Mui.CreateCustomClass() *)
  1516.  
  1517. TYPE
  1518.   CustomClassPtr *= UNTRACED POINTER TO CustomClass;
  1519.   CustomClass *= STRUCT
  1520.                   userData      *: Exec.APTR;           (* use for whatever you want *)
  1521.                   utilityBase   *: Exec.LibraryPtr;     (* MUI has opened these libraries *)
  1522.                   dosBase       *: Exec.LibraryPtr;     (* for you automatically. You can *)
  1523.                   gfxBase       *: Exec.LibraryPtr;     (* use them or decide to open     *)
  1524.                   intuitionBase *: Exec.LibraryPtr;     (* your libraries yourself.       *)
  1525.                   super         *: Intuition.IClassPtr; (* pointer to super class   *)
  1526.                   class         *: Intuition.IClassPtr; (* pointer to the new class *)
  1527.                   (* ... private data follows ... *)
  1528.                  END;
  1529.  
  1530. (***************************************************************************
  1531. **
  1532. ** For Boopsi Image Implementors Only:
  1533. **
  1534. ** If MUI is using a boopsi image object, it will send a special method
  1535. ** immediately after object creation. This method has a parameter structure
  1536. ** where the boopsi can fill in its minimum and maximum size and learn if
  1537. ** its used in a horizontal or vertical context.
  1538. **
  1539. ** The boopsi image must use the method id (MUIM_BoopsiQuery) as return
  1540. ** value. That's how MUI sees that the method is implemented.
  1541. **
  1542. ** Note: MUI does not depend on this method. If the boopsi image doesn't
  1543. **       implement it, minimum size will be 0 and maximum size unlimited.
  1544. **
  1545. ***************************************************************************)
  1546.  
  1547. CONST mBoopsiQuery *= 80427157H;    (* this is send to the boopsi and *)
  1548.                                     (* must be used as return value   *)
  1549.  
  1550. TYPE pBoopsiQuery  *= STRUCT( msg* : Intuition.Msg ); (* parameter structure *)
  1551.                   screen    * : Intuition.ScreenPtr;  (* read only, display context *)
  1552.                   flags     * : LONGSET;              (* read only, see below *)
  1553.  
  1554.                   minWidth  * : LONGINT;              (* write only, fill in min width  *)
  1555.                   minHeight * : LONGINT;              (* write only, fill in min height *)
  1556.                   maxWidth  * : LONGINT;              (* write only, fill in max width  *)
  1557.                   maxHeight * : LONGINT;              (* write only, fill in max height *)
  1558.                   renderInfo * : RenderInfoPtr;       (* read only, display context *)
  1559.                   (* ... may grow in future ... *)
  1560.                   END;
  1561.  
  1562. CONST bqfHoriz *= 0;             (* object used in a horizontal *)
  1563.                                  (* context (else vertical)     *)
  1564.  
  1565. CONST bqMaxMax *= 10000;         (* use this for unlimited MaxWidth/Height *)
  1566.  
  1567.  
  1568.  
  1569. (***************************************************************************
  1570. ** Method Parameter Structures
  1571. **
  1572. ***************************************************************************)
  1573.  
  1574. TYPE
  1575.  
  1576. (* Notify *)
  1577.  
  1578.   pCallHookPtr * = UNTRACED POINTER TO pCallHook;
  1579.   pCallHook * = STRUCT( msg * : Intuition.Msg );
  1580.                   hook * : Utility.HookPtr;
  1581.                   (* following hookparams *)
  1582.                 END;
  1583.  
  1584.   pFindUDataPtr * = UNTRACED POINTER TO pFindUData;
  1585.   pFindUData * = STRUCT( msg * : Intuition.Msg );
  1586.                    udata * : LONGINT;
  1587.                  END;
  1588.  
  1589.   pGetUDataPtr * = UNTRACED POINTER TO pGetUData;
  1590.   pGetUData * = STRUCT( msg * : Intuition.Msg );
  1591.                    udata   * : LONGINT;
  1592.                    attr    * : LONGINT;
  1593.                    storage * : SYSTEM.ADDRESS;
  1594.                  END;
  1595.  
  1596.   pMultiSetPtr * = UNTRACED POINTER TO pMultiSet;
  1597.   pMultiSet * = STRUCT( msg * : Intuition.Msg );
  1598.                        attr * : LONGINT;
  1599.                        val  * : LONGINT;
  1600.                        obj  * : Object;
  1601.                        (* ... *)
  1602.                      END;
  1603.  
  1604.  
  1605.   pNoNotifySetPtr * = UNTRACED POINTER TO pNoNotifySet;
  1606.   pNoNotifySet * = STRUCT( msg * : Intuition.Msg );
  1607.                       attr   * : LONGINT;
  1608.                       format * : Exec.STRPTR;
  1609.                       val    * : LONGINT;
  1610.                     END;
  1611.  
  1612.   pNotifyPtr * = UNTRACED POINTER TO pNotify;
  1613.   pNotify * = STRUCT( msg * : Intuition.Msg );
  1614.                 trigAttr * : LONGINT;
  1615.                 trigVal  * : LONGINT;
  1616.                 destObj  * : Object;
  1617.                 (* FollowingParams *)
  1618.               END;
  1619.  
  1620.   pSetPtr * = UNTRACED POINTER TO pSet;
  1621.   pSet * = STRUCT( msg * : Intuition.Msg );
  1622.                   attr * : LONGINT;
  1623.                   val  * : LONGINT;
  1624.                 END;
  1625.  
  1626.   pSetAsStringPtr * = UNTRACED POINTER TO pSetAsString;
  1627.   pSetAsString * = STRUCT( msg * : Intuition.Msg );
  1628.                      attr   * : LONGINT;
  1629.                      format * : Exec.STRPTR;
  1630.                      val    * : LONGINT;
  1631.                      (* ... *)
  1632.                    END;
  1633.  
  1634.   pSetUDataPtr * = UNTRACED POINTER TO pSetUData;
  1635.   pSetUData * = STRUCT( msg * : Intuition.Msg );
  1636.                    udata   * : LONGINT;
  1637.                    attr    * : LONGINT;
  1638.                    val     * : SYSTEM.ADDRESS;
  1639.                  END;
  1640.  
  1641.   pWriteLongPtr * = UNTRACED POINTER TO pWriteLong;
  1642.   pWriteLong * = STRUCT( msg * : Intuition.Msg );
  1643.                    val     * : LONGINT;
  1644.                    memory  * : UNTRACED POINTER TO LONGINT;
  1645.                  END;
  1646.  
  1647.   pWriteStringPtr * = UNTRACED POINTER TO pWriteString;
  1648.   pWriteString * = STRUCT( msg * : Intuition.Msg );
  1649.                      str     * : Exec.STRPTR;
  1650.                      memory  * : Exec.STRPTR;
  1651.                    END;
  1652.  
  1653. (* Family *)
  1654.  
  1655.  
  1656.   pFamilyAddHeadPtr * = UNTRACED POINTER TO pFamilyAddHead;
  1657.   pFamilyAddHead * = STRUCT( msg * : Intuition.Msg );
  1658.                        obj *: Object;
  1659.                      END;
  1660.  
  1661.   pFamilyAddTailPtr * = UNTRACED POINTER TO pFamilyAddTail;
  1662.   pFamilyAddTail * = STRUCT( msg * : Intuition.Msg );
  1663.                        obj *: Object;
  1664.                      END;
  1665.  
  1666.   pFamilyInsertPtr * = UNTRACED POINTER TO pFamilyInsert;
  1667.   pFamilyInsert * = STRUCT( msg * : Intuition.Msg );
  1668.                        obj  *: Object;
  1669.                        pred *: Object;
  1670.                      END;
  1671.  
  1672.   pFamilyRemovePtr * = UNTRACED POINTER TO pFamilyRemove;
  1673.   pFamilyRemove * = STRUCT( msg * : Intuition.Msg );
  1674.                        obj *: Object;
  1675.                      END;
  1676.  
  1677.   pFamilySortPtr * = UNTRACED POINTER TO pFamilySort;
  1678.   pFamilySort * = STRUCT( msg * : Intuition.Msg );
  1679.                        obj *: Object;
  1680.                      END;
  1681.  
  1682.   pFamilyTransferPtr * = UNTRACED POINTER TO pFamilyTransfer;
  1683.   pFamilyTransfer * = STRUCT( msg * : Intuition.Msg );
  1684.                        family *: Object;
  1685.                      END;
  1686.  
  1687.  
  1688. (* Application *)
  1689.  
  1690.   pApplicationGetMenuCheckPtr * = UNTRACED POINTER TO pApplicationGetMenuCheck;
  1691.   pApplicationGetMenuCheck * = STRUCT( msg * : Intuition.Msg ); (* Obsolete *)
  1692.                       menuID * : LONGINT;
  1693.                     END;
  1694.  
  1695.   pApplicationGetMenuStatePtr * = UNTRACED POINTER TO pApplicationGetMenuState;
  1696.   pApplicationGetMenuState * = STRUCT( msg * : Intuition.Msg ); (* Obsolete *)
  1697.                       menuID * : LONGINT;
  1698.                     END;
  1699.  
  1700.   pApplicationInputPtr * = UNTRACED POINTER TO pApplicationInput;
  1701.   pApplicationInput * = STRUCT( msg * : Intuition.Msg ); 
  1702.                           signal * : UNTRACED POINTER TO LONGSET;
  1703.                         END;
  1704.  
  1705.   pApplicationLoadPtr * = UNTRACED POINTER TO pApplicationLoad;
  1706.   pApplicationLoad * = STRUCT( msg * : Intuition.Msg );
  1707.                          name * : Exec.STRPTR;
  1708.                        END;
  1709.  
  1710.   pApplicationPushMethodPtr * = UNTRACED POINTER TO pApplicationPushMethod;
  1711.   pApplicationPushMethod * = STRUCT( msg * : Intuition.Msg );
  1712.                                dest * : Object;
  1713.                                (* following Method *)
  1714.                              END;
  1715.  
  1716.   pApplicationReturnIDPtr * = UNTRACED POINTER TO pApplicationReturnID;
  1717.   pApplicationReturnID * = STRUCT( msg * : Intuition.Msg );
  1718.                              retid * : LONGINT;
  1719.                            END;
  1720.  
  1721.   pApplicationSavePtr * = UNTRACED POINTER TO pApplicationSave;
  1722.   pApplicationSave * = STRUCT( msg * : Intuition.Msg );
  1723.                          name * : Exec.STRPTR;
  1724.                        END;
  1725.  
  1726.  
  1727.   pApplicationSetMenuCheckPtr * = UNTRACED POINTER TO pApplicationSetMenuCheck;
  1728.   pApplicationSetMenuCheck * = STRUCT( msg * : Intuition.Msg ); (* Obsolete *)
  1729.                       menuID * : LONGINT;
  1730.                       set    * : LONGINT;
  1731.                     END;
  1732.  
  1733.   pApplicationSetMenuStatePtr * = UNTRACED POINTER TO pApplicationSetMenuState;
  1734.   pApplicationSetMenuState * = STRUCT( msg * : Intuition.Msg ); (* Obsolete *)
  1735.                       menuID * : LONGINT;
  1736.                       set    * : LONGINT;
  1737.                     END;
  1738.  
  1739.   pApplicationShowHelpPtr * = UNTRACED POINTER TO pApplicationShowHelp;
  1740.   pApplicationShowHelp * = STRUCT( msg * : Intuition.Msg );
  1741.                              window * : Object;
  1742.                              name   * : Exec.STRPTR;
  1743.                              node   * : Exec.STRPTR;
  1744.                              line   * : LONGINT;
  1745.                            END;
  1746.  
  1747. (* Window *)
  1748.  
  1749.   pWindowGetMenuCheckPtr * = UNTRACED POINTER TO pWindowGetMenuCheck;
  1750.   pWindowGetMenuCheck * = STRUCT( msg * : Intuition.Msg ); (* Obsolete *)
  1751.                             menuID * : LONGINT;
  1752.                           END;
  1753.  
  1754.   pWindowGetMenuStatePtr * = UNTRACED POINTER TO pWindowGetMenuState;
  1755.   pWindowGetMenuState * = STRUCT( msg * : Intuition.Msg ); (* Obsolete *)
  1756.                             menuID * : LONGINT;
  1757.                           END;
  1758.  
  1759.   pWindowSetCycleChainPtr * = UNTRACED POINTER TO pWindowSetCycleChain;
  1760.   pWindowSetCycleChain * = STRUCT( msg * : Intuition.Msg );
  1761.                              (* following objects *)
  1762.                            END;
  1763.  
  1764.   pWindowSetMenuCheckPtr * = UNTRACED POINTER TO pWindowSetMenuCheck;
  1765.   pWindowSetMenuCheck * = STRUCT( msg * : Intuition.Msg ); (* Obsolete *)
  1766.                             menuID * : LONGINT;
  1767.                             set    * : LONGINT;
  1768.                           END;
  1769.  
  1770.   pWindowSetMenuStatePtr * = UNTRACED POINTER TO pWindowSetMenuState;
  1771.   pWindowSetMenuState * = STRUCT( msg * : Intuition.Msg ); (* Obsolete *)
  1772.                             menuID * : LONGINT;
  1773.                             set    * : LONGINT;
  1774.                           END;
  1775.  
  1776. (* Area *)
  1777.  
  1778.   pAskMinMaxPtr * = UNTRACED POINTER TO pAskMinMax;
  1779.   pAskMinMax * = STRUCT( msg * : Intuition.Msg );
  1780.                    minMax * : MinMaxPtr;
  1781.                  END;
  1782.  
  1783.   pDrawPtr * = UNTRACED POINTER TO pDraw;
  1784.   pDraw * = STRUCT( msg * : Intuition.Msg );
  1785.               flags * : LONGSET
  1786.             END;
  1787.  
  1788.   pHandleInputPtr * = UNTRACED POINTER TO pHandleInput;
  1789.   pHandleInput * = STRUCT( msg * : Intuition.Msg );
  1790.                      imsg   * : Intuition.IntuiMessagePtr;
  1791.                      muikey * : LONGINT;
  1792.                    END;
  1793.  
  1794.   pSetUpPtr * = UNTRACED POINTER TO pSetUp;
  1795.   pSetUp * = STRUCT( msg * : Intuition.Msg );
  1796.                renderInfo * : RenderInfoPtr;
  1797.              END;
  1798.  
  1799. (* List *)
  1800.  
  1801.   pListExchangePtr * = UNTRACED POINTER TO pListExchange;
  1802.   pListExchange * = STRUCT( msg * : Intuition.Msg );
  1803.                       pos1 * : LONGINT;
  1804.                       pos2 * : LONGINT;
  1805.                     END;
  1806.  
  1807.   pListGetEntryPtr * = UNTRACED POINTER TO pListGetEntry;
  1808.   pListGetEntry * = STRUCT( msg * : Intuition.Msg );
  1809.                       pos * : LONGINT;
  1810.                       entry * : Exec.APTR
  1811.                     END;
  1812.  
  1813.   pListInsertPtr * = UNTRACED POINTER TO pListInsert;
  1814.   pListInsert * = STRUCT( msg * : Intuition.Msg );
  1815.                     entries * : Exec.APTR;
  1816.                     count   * : LONGINT;
  1817.                     pos     * : LONGINT;
  1818.                   END;
  1819.  
  1820.   pListInsertSinglePtr * = UNTRACED POINTER TO pListInsertSingle;
  1821.   pListInsertSingle * = STRUCT( msg * : Intuition.Msg );
  1822.                           entry * : Exec.APTR;
  1823.                           pos   * : LONGINT;
  1824.                         END;
  1825.  
  1826.   pListJumpPtr * = UNTRACED POINTER TO pListJump;
  1827.   pListJump * = STRUCT( msg * : Intuition.Msg );
  1828.                     pos * : LONGINT;
  1829.                   END;
  1830.  
  1831.   pListMovePtr * = UNTRACED POINTER TO pListMove;
  1832.   pListMove * = STRUCT( msg * : Intuition.Msg );
  1833.                     from * : LONGINT;
  1834.                     to   * : LONGINT;
  1835.                   END;
  1836.  
  1837.   pListNextSelectedPtr * = UNTRACED POINTER TO pListNextSelected;
  1838.   pListNextSelected * = STRUCT( msg * : Intuition.Msg );
  1839.                           pos * : UNTRACED POINTER TO LONGINT;
  1840.                         END;
  1841.  
  1842.   pListRedrawPtr * = UNTRACED POINTER TO pListRedraw;
  1843.   pListRedraw * = STRUCT( msg * : Intuition.Msg );
  1844.                     pos * : LONGINT;
  1845.                   END;
  1846.  
  1847.   pListRemovePtr * = UNTRACED POINTER TO pListRemove;
  1848.   pListRemove * = STRUCT( msg * : Intuition.Msg );
  1849.                     pos * : LONGINT;
  1850.                   END;
  1851.  
  1852.   pListSelectPtr * = UNTRACED POINTER TO pListSelect;
  1853.   pListSelect * = STRUCT( msg * : Intuition.Msg );
  1854.                     pos     * : LONGINT;
  1855.                     selType * : LONGINT;
  1856.                     state   * : UNTRACED POINTER TO LONGINT;
  1857.                   END;
  1858.  
  1859. (* Popstring *)
  1860.  
  1861.   pPopstringClosePtr * = UNTRACED POINTER TO pPopstringClose;
  1862.   pPopstringClose *= STRUCT( msg * : Intuition.Msg );
  1863.                        result : LONGINT;
  1864.                      END;
  1865.  
  1866. (***************************************************************************
  1867. ** Functions in muimaster.library
  1868. ***************************************************************************)
  1869.  
  1870. VAR
  1871.   base * : Exec.LibraryPtr;
  1872.  
  1873. PROCEDURE NewObjectA           * {base,-30}( class{8}      : ARRAY OF CHAR;
  1874.                                              tags{9}       : ARRAY OF Utility.TagItem): Object;
  1875.  
  1876. PROCEDURE NewObject            * {base,-30}( class{8}      : ARRAY OF CHAR;
  1877.                                              tags{9}..     : Utility.Tag): Object;
  1878.  
  1879. PROCEDURE DisposeObject        * {base,-36}( obj{8}        : Object);
  1880.  
  1881.  
  1882. PROCEDURE RequestA             * {base,-42}( app{0}        : Object;
  1883.                                              win{1}        : Object;
  1884.                                              flags{2}      : LONGINT;
  1885.                                              title{8}      : ARRAY OF CHAR;
  1886.                                              gadgets{9}    : ARRAY OF CHAR;
  1887.                                              format{10}    : ARRAY OF CHAR;
  1888.                                              params{11}    : ARRAY OF Utility.TagItem) : LONGINT;
  1889.  
  1890. PROCEDURE Request              * {base,-42}( app{0}        : Object;
  1891.                                              win{1}        : Object;
  1892.                                              flags{2}      : LONGINT;
  1893.                                              title{8}      : ARRAY OF CHAR;
  1894.                                              gadgets{9}    : ARRAY OF CHAR;
  1895.                                              format{10}    : ARRAY OF CHAR;
  1896.                                              params{11}..  : Utility.Tag) : LONGINT;
  1897.  
  1898. PROCEDURE AllocAslRequest      * {base,-48}( typ{0}  : LONGINT;
  1899.                                              tags{8} : ARRAY OF Utility.TagItem) : ASL.ASLRequesterPtr;
  1900.  
  1901. PROCEDURE AllocAslRequestTags  * {base,-48}( typ{0}    : LONGINT;
  1902.                                              tags{8}.. : Utility.Tag) : ASL.ASLRequesterPtr;
  1903.  
  1904. PROCEDURE AslRequest           * {base,-54}( req{8}  : ASL.ASLRequesterPtr;
  1905.                                              tags{9} : ARRAY OF Utility.TagItem) : BOOLEAN;
  1906.  
  1907. PROCEDURE AslRequestTags       * {base,-54}( req{8}    : ASL.ASLRequesterPtr;
  1908.                                              tags{9}.. : Utility.Tag) : BOOLEAN;
  1909.  
  1910. PROCEDURE FreeAslRequest       * {base,-60}( req{8}  : ASL.ASLRequesterPtr );
  1911.  
  1912. PROCEDURE Error                * {base,-66}() : LONGINT;
  1913.  
  1914. (* functions to be used with custom classes *)
  1915.  
  1916. PROCEDURE SetError             * {base,-72}( num{0} : LONGINT ):LONGINT;
  1917.  
  1918. PROCEDURE GetClass             * {base,-78}( classname{8} : ARRAY OF CHAR ):Intuition.IClassPtr;
  1919.  
  1920. PROCEDURE FreeClass            * {base,-84}( classptr{8}: Intuition.IClassPtr );
  1921.  
  1922. PROCEDURE RequestIDCMP         * {base,-90}( obj{8}:Object; flags{0}:LONGSET );
  1923.  
  1924. PROCEDURE RejectIDCMP          * {base,-96}( obj{8}:Object; flags{0}:LONGSET );
  1925.  
  1926. PROCEDURE Redraw               * {base,-102}( obj{8}:Object; flags{0}:LONGSET );
  1927.  
  1928. PROCEDURE CreateCustomClass    * {base,-108}( base{8}     : Exec.LibraryPtr;
  1929.                                               supername{9}: ARRAY OF CHAR;
  1930.                                               supermcc{10}: CustomClassPtr;
  1931.                                               datasize{0} : LONGINT;
  1932.                                               dispfunc{11}: dispatcher ):CustomClassPtr;
  1933.  
  1934. PROCEDURE DeleteCustomClass    * {base,-114}( mcc{8} : CustomClassPtr ):BOOLEAN;
  1935.  
  1936.  
  1937. PROCEDURE MakeObject           * {base,-120}(objtype{0}  : LONGINT;
  1938.                                              params{8}.. : SYSTEM.ADDRESS ):Object;
  1939.  
  1940. PROCEDURE MakeObjectA          * {base,-120}(objtype{0}  : LONGINT;
  1941.                                              params{8}   : Exec.APTR ):Object;
  1942.  
  1943. PROCEDURE DoMethodA * ( obj{10}, msg{9}: Intuition.Msg ): LONGINT;
  1944.  
  1945. BEGIN  (* $EntryExitCode- *)
  1946.   SYSTEM.INLINE(  0206AH, 0FFFCH,    (*  movea.l -4(a2),a0    *)
  1947.                   02F28H, 00008H,    (*  move.l  8(a0),-(a7)  *)
  1948.                   04E75H);           (*  rts                  *)
  1949. END DoMethodA;
  1950.  
  1951. PROCEDURE DoMethod * {"Mui.DoMethodA"} ( obj{10}: Object; msg{9}..: Exec.APTR );
  1952. PROCEDURE DOMethod * {"Mui.DoMethodA"} ( obj{10}: Object; msg{9}..: Exec.APTR ) : LONGINT;
  1953.  
  1954. BEGIN
  1955.   base := Exec.OpenLibrary( name, minVersion);
  1956.   IF base=NIL THEN
  1957.     IF Intuition.DisplayAlert(0,"\x00\x64\x14missing muimaster.library V7\o\o",50) THEN END;
  1958.     HALT(0)
  1959.   END;
  1960. CLOSE
  1961.   IF base#NIL THEN Exec.CloseLibrary(base) END;
  1962. END Mui.
  1963.